package com.fjw.service;

import com.fjw.pojo.Warehouse;

import java.util.List;

public interface WarehouseService {

    List<Warehouse> findAll();

    Warehouse findById(Integer id);

    void insert(Warehouse warehouse);

    void update(Warehouse warehouse);

    void deleteById(Integer id);

    void addStock(Integer id, int num);

    void reduceStock(Integer id, int num);
}